<!DOCTYPE html>
<html>
<head>
    <title>skd_instance</title>
    <#include "/sys/header.html"/>
</head>
<body>
<div class="panel panel-default" id="rrapp" v-cloak>
    <div class="panel-heading">{{title}}</div>
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-2 control-label">instanceId</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.instanceId" placeholder="instanceId"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">关联类型 workSubject:作业专题 work：作业项 work</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.referType"
                       placeholder="关联类型 workSubject:作业专题 work：作业项 work"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">关联ids 多个逗号分隔</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.referIds" placeholder="关联ids 多个逗号分隔"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">关联名称 多个逗号分隔</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.referName" placeholder="关联名称 多个逗号分隔"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">运行状态 1 待执行 2 再执行 3 执行中 4 执行完成</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.status"
                       placeholder="运行状态 1 待执行 2 再执行 3 执行中 4 执行完成"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">remark</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.remark" placeholder="remark"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">error</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.error" placeholder="error"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">任务总数</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.totalNum" placeholder="任务总数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">完成数</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.completedNum" placeholder="完成数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">再运行的任务数</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.waitNum" placeholder="再运行的任务数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">dealTaskNum</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.dealTaskNum"
                       placeholder="dealTaskNum"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">是否单线程处理 0 否 1 是 （一个服务器一个线程执行）</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.isSingle"
                       placeholder="是否单线程处理 0 否 1 是 （一个服务器一个线程执行）"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">创建Ip</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.createIp" placeholder="创建Ip"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">执行ip</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.execIp" placeholder="执行ip"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">createTime</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.createTime" placeholder="createTime"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">updateTime</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="scheduleInstance.updateTime" placeholder="updateTime"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label"></div>
            <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
            &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="back" value="返回"/>
        </div>
    </form>
</div>

<script src="${base}/js/skd/scheduleInstance_add.js?_${.now?string['yyyyMMddhhmmSS']}"></script>
</body>
</html>
